package com.go8.trade.pojo;

import java.util.Date;
import java.util.List;

public class Order {
    private Long id;

    private Long memberId;

    private Byte status;

    private Double ptotal;

    private Double fee;

    private Double amount;

    private Double reduceMoney;

    private Double finalPayMoney;

    private Integer score;

    private String remark;

    private Date gmtCreate;

    private Date gmtModified;

    /*一对多*/
    private List<OrderDetail> details;

    /*
    一对一
     */
    private OrderShip ship;
    
    public List<OrderDetail> getDetails() {
		return details;
	}

	public void setDetails(List<OrderDetail> details) {
		this.details = details;
	}

	public OrderShip getShip() {
		return ship;
	}

	public void setShip(OrderShip ship) {
		this.ship = ship;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Double getPtotal() {
        return ptotal;
    }

    public void setPtotal(Double ptotal) {
        this.ptotal = ptotal;
    }

    public Double getFee() {
        return fee;
    }

    public void setFee(Double fee) {
        this.fee = fee;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getReduceMoney() {
        return reduceMoney;
    }

    public void setReduceMoney(Double reduceMoney) {
        this.reduceMoney = reduceMoney;
    }

    public Double getFinalPayMoney() {
        return finalPayMoney;
    }

    public void setFinalPayMoney(Double finalPayMoney) {
        this.finalPayMoney = finalPayMoney;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}